<template>
  <div class="hrader-wrapper">
    <h3 class="title">{{title}}</h3>
    <div class="custome-block">
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
    },
  },
};
</script>

<style lang="scss" scoped>
.hrader-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  border-bottom: 1px solid #eaeaea;
  .title {
    font-weight: bold;
    font-size: 15px;
  }
  margin: -10px -20px 0;
  padding: 0 20px;
}
</style>
